home *** CD-ROM | disk | FTP | other *** search
- Path: engnews1.Eng.Sun.COM!taumet!clamage
- From: kj7bg@primenet.com (Bob White)
- Newsgroups: comp.std.c++
- Subject: Namespaces within class definition???
- Date: 28 Feb 1996 18:55:52 GMT
- Organization: Primenet Services for the Internet
- Sender: root@primenet.com
- Approved: clamage@eng.sun.com (comp.std.c++)
- Message-ID: <4h27pi$ejv@nnrp1.news.primenet.com>
- NNTP-Posting-Host: taumet.eng.sun.com
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset="US-ASCII"
- X-Posted-By: ip184.boi.primenet.com
- X-Newsreader: WinVN 0.99.6
- X-Lines: 10
- Content-Length: 330
- Originator: clamage@taumet
-
- Assuming that the "string" class is properly defined in namespace "std", is it
- legal to do the following:
-
- class xyz : public std::string {
- }
-
- I am trying to do this with Visual C++ v4.0 and it is giving me an INTERNAL
- COMPILER ERROR. I thought that this was legal syntax, but am not certain.
- Thanks in advance for your help.
-
-
-
- [ comp.std.c++ is moderated. To submit articles: Try just posting with your
- newsreader. If that fails, use mailto:std-c++@ncar.ucar.edu
- comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
- Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
- Comments? mailto:std-c++-request@ncar.ucar.edu
- ]
-